Fix a C99ism. (#321777, Jens Granseuer)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2005 19:56:52 +0000 (19:56 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 18 Nov 2005 19:56:52 +0000 (19:56 +0000)
2005-11-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
(#321777, Jens Granseuer)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkpathbar.c

index b672f3a6ecccf62aae41defc07f04ae79fa83a2b..e65c94be58d4d5827ae2a217989724c3afea9dae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-11-18  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
+       (#321777, Jens Granseuer)
+
        * gtk/gtkaction.c (disconnect_proxy): Disconnect the
        sync callback for the visibility property.  (#321761,
        Philip Langdale)
index b672f3a6ecccf62aae41defc07f04ae79fa83a2b..e65c94be58d4d5827ae2a217989724c3afea9dae 100644 (file)
@@ -1,5 +1,8 @@
 2005-11-18  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
+       (#321777, Jens Granseuer)
+
        * gtk/gtkaction.c (disconnect_proxy): Disconnect the
        sync callback for the visibility property.  (#321761,
        Philip Langdale)
index ff99f52b43f45d5f1029ed61a347e8865ba05644..cf8e802676809a6608704ce125debc222826ed76 100644 (file)
@@ -931,6 +931,7 @@ button_clicked_cb (GtkWidget *button,
   GtkPathBar *path_bar;
   GList *button_list;
   gboolean child_is_hidden;
+  GtkFilePath *child_path;
 
   button_data = BUTTON_DATA (data);
   if (button_data->ignore_changes)
@@ -943,7 +944,6 @@ button_clicked_cb (GtkWidget *button,
 
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
 
-  GtkFilePath *child_path;
   if (button_list->prev)
     {
       ButtonData *child_data;